import { actRequest, agentRequest } from '@/utils/HttpRequest';

export function agentByList() {
  let data = actRequest.get<API.Result<API.Pagination>>('agent/list');
  return data;
}
export function agentEdit(params: API.Agent) {
  return agentRequest.post('edit', params);
}
